<?php

namespace App\Containers\AppSection\Profile\Data\Repositories;

use App\Ship\Parents\Repositories\Repository;

class ProfileRepository extends Repository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'id' => '=',
        'legal_form.personal.registration_address' => '=',
        'legal_form_type' => 'in',
        'legal_form.personal.fio' => '=',
        'legal_form.personal.inn' => '=',
        'legal_form.personal.ogrnip' => '=',
        'legal_form.personal.position' => '=',
        'legal_form.personal.birth_date' => '=',
        'accreditation_status_key' => '=',
        'legal_form.qualification_status_key' => '=',
        'created_at' => '=',
        'accreditation.updated_at' => '=',
        'phone' => '=',
        'user.email' => '=',
        'legal_form.company.inn' => '=',
        'legal_form.company.ogrn' => '=',
        'legal_form.company.kpp' => '=',
    ];
}













